package com.gui.registration.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gui.hospital.model.Hospital;
import com.gui.registration.model.RegistrationRecord;

import java.util.List;

/**
 * @author 言叶
 * Date：2025/9/3
 */

public interface RegistrationService extends IService<RegistrationRecord> {
    List<Hospital> getHospitalByName(String name);
    
    Boolean addRegistration(RegistrationRecord registration);

    List<RegistrationRecord> getByUserId(Integer useId);

    Boolean cancelOrder(String orderId);

    boolean updateByOrderId(RegistrationRecord record);
}